<!DOCTYPE html>
<html>
<head>
    <title>index</title>
</head>
<body>
    <h2>#(userAgent)</h2>
    <h1>index.html</h1>
    #if(shiro.isGuest())
        <h3>游客身份</h3>
    #end
    #if(shiro.isUser())
        <h3>已登陆</h3>
    #end
    #if(shiro.hasRole("admin"))
        <h3>角色admin</h3>
    #end
    #if(shiro.hasRole("user"))
        <h3>角色user</h3>
    #end
    #if(shiro.hasPermission("permission_list"))
        <h3>permission_list</h3>
    #end
</body>
</html>
